package com.cuit.service;

import com.cuit.doamin.Recruitment;

import java.util.List;

public interface RecruitmentService {
    /**
     * 增加并发布一个招聘信息
     *
     * @return
     */
    public boolean add(Recruitment recruitment);

    /**
     * 删除招聘信息
     *
     * @return
     */
    public boolean delete(Integer id);

    /**
     * 查询招聘信息
     *
     * @return
     */
    public List<Recruitment> find();

    /**
     * 查询所有招聘信息的应聘简历
     *
     * @return
     */
    public List<Recruitment> findPost();

}
